package com.fand.manager.service;

import java.util.List;

import com.fand.common.util.PageResult;
import com.fand.manager.entity.SysUser;
import com.fand.manager.model.user.SysUserPostDTO;
import com.fand.manager.model.user.SysUserReturnDTO;
import com.fand.manager.model.user.SysUserSearchDTO;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author javaboy
 * @since 2021-06-02
 */
public interface ISysUserService {

    Boolean saveUser(SysUserPostDTO sysUser);

    SysUserReturnDTO findUser(Long id);

    Boolean deleteUser(Long id);

    Boolean updateUser(SysUserPostDTO sysUser);

    PageResult<List<SysUserReturnDTO>> listUsers(SysUserSearchDTO sysUserSearchDTO);

    Boolean deleteByIds(List<Long> idList);

    SysUser findUserByUserCode(String userCode);

    Boolean updatePwd(SysUserPostDTO sysUserPostDTO);

}
